/**
 * 日志表单
 */
import { ref } from 'vue'
import { FormItemProps } from '../../../components/base/form-item/props/index'
import { Log } from '../../../entity/system/log'
export const formItems = ref<Array<FormItemProps<Log>>>([
  {
    type: 'input',
    name: 'userName',
    label: '用户名',
    placeholder: '用户名',
  },
  {
    type: 'input',
    name: 'ip',
    label: 'ip',
    placeholder: 'ip',
  },
  {
    type: 'input',
    name: 'method',
    label: '请求方法',
    placeholder: '请求方法',
  },
  {
    type: 'input',
    name: 'operation',
    label: '用户操作',
    placeholder: '用户操作',
  },
  {
    type: 'input',
    name: 'params',
    label: '请求参数',
    placeholder: '请求参数',
  },
  {
    type: 'input',
    name: 'time',
    label: '执行时长(毫秒)',
    placeholder: '执行时长(毫秒)',
  },
])
